package com.lefeng.cockpit.common.bean.po.datasource;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lefeng.cockpit.common.bean.po.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by weifw
 */
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dc_datax_registry", autoResultMap = true)
public class JobRegistryPO extends BasePO {
    @TableId
    @ApiModelProperty(value = "自增主键")
    private Integer id;

    @ApiModelProperty(value = "注册组")
    private String registryGroup;

    @ApiModelProperty(value = "注册键")
    private String registryKey;

    @ApiModelProperty(value = "注册值")
    private String registryValue;

    @ApiModelProperty(value = "CPU使用")
    private Double cpuUsage;

    @ApiModelProperty(value = "内存使用")
    private Double memoryUsage;

    private Double loadAverage;

    @ApiModelProperty(value = "datax.py 路径")
    private String pyPath;

    @ApiModelProperty(value = "executor 版本")
    private String version;

}
